package com.csii.adhoc.dataunits.mapper;

import com.csii.adhoc.dataunits.TDataOrd;
import com.csii.adhoc.dataunits.addcolumn.ColValueOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TDataOrdMapper {
    int insert(TDataOrd record);

    int insertSelective(TDataOrd record);

    void update(TDataOrd dataOrd);

    List<TDataOrd> getOrderByType(TDataOrd dataOrd);

    void deleteOrderByType(@Param("modelId") String modelId, @Param("type") String type);

    void deleteOrder(String modelId, String colName, String type);
}